package cn.jsl.user.service;

import cn.jsl.basic.dto.UserDto;
import cn.jsl.user.domain.User;
import cn.jsl.basic.service.IBaseService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jijie
 * @since 2022-06-01
 */
public interface IUserService extends IBaseService<User> {

    /**
     * 手机号码注册
     * @return AjaxResult 响应给前端
     */
    void phoneRegister(UserDto userDto);

    /**
     * 邮箱注册
     * @return AjaxResult 响应给前端
     */
    void emailRegister(UserDto userDto);
}
